//
//  BaseViewController.m
//  blog_oc
//
//  Created by Tanenbaum on 15/7/28.
//  Copyright © 2015年 GZJ. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()
@property(nonatomic,getter=isUserLongin) BOOL userLongin;
@end

@implementation BaseViewController




- (void)loadView {
    
    self.userLongin = false;
    
    self.userLongin ? [super loadView] :[self setUpVisitor];
}


- (void)setUpVisitor {
    
    self.view = [[UIView alloc]init];
    self.view.backgroundColor = [UIColor greenColor];
    
}

@end
